<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ page isELIgnored="false" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<%@ include file="/common/common-jsp.jspf" %>
<title>修改员工</title>
<link rel="stylesheet" type="text/css" href="${proPath }/css/common.css">
<script type="text/javascript" src="${proPath }/js/page.js"></script>
</head>
<div class="container">
	<form:form action="${proPath }/employee/employee" method="POST" 
		modelAttribute="employee">
		<form:hidden path="id"/>
		<input type="hidden" name="_method" value="PUT"/>
		姓名:<form:input path="name"/><br>
		性别:<form:radiobuttons path="gender" items="${genders }"/><br>
		生日:<form:input path="birthday"/><form:errors path="birthday"></form:errors>
		<br>
		部门:<form:select path="department.id" items="${departments }"
			itemLabel="name" itemValue="id"></form:select><br>
		<input type="submit" value="提交"/>
	</form:form>
</div>
<body>
	
</body>
</html>